package com.wtf.generator.model.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
/**
 * date: 2022/6/18 10:59
 * @author linhuanyou
 * @email 496558736@qq.com
 * @version 1.0
 */
@Data
@ToString
public class TableDTO {


    @NotNull(message = "请输入页码")
    private Integer page = 1 ;

    @NotNull(message = "请输入条数")
    private Integer limit = 20;

    @NotBlank(message = "请输入数据源")
    private String ds;

    private String tableName;
}
